public class EmojiPrint {
    public static void main(String[] args) {
        dec2hex(666);
        hex2dec("\ud83e\udd15");

    }

    public static int hex2dec(String hexString) {
        System.out.println(Integer.parseInt(hexString));
        return Integer.parseInt(hexString);
    }

    public static String dec2hex(Integer hexString) {
        return hexString.toHexString(hexString);
    }
}
